package com.theorydance.springsourcestudy.autowired.conf;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@ToString
//@Data
public class TmpPlus5 {

    @Value("${custom.active}")
    private String active;

    @Value("${custom.dataId}--nihao")
    private String dataId;

    @Value("${custom.active}-${custom.dataId}--nihao")
    private String dataId2;



    public TmpPlus5(){
        System.out.println("this is TmpPlus5()........");
    }



}
